TARGET := chatroom

#SRC_FILES := $(shell find . -name "*.go" )
SRC_FILES += chatroom.go

.DEFAULT:all

all : $(TARGET)
	@echo "[SUCCESS] Done go build"


$(TARGET): $(SRC_FILES)
	@echo "src :"$(SRC_FILES)
	go build  -v

fmt : $(SRC_FILES)
	go fmt 
	@echo "[SUCCESS] Done go fmt"

.PHONY:clean

clean:
	go clean
	-rm -rf $(TARGET)
